package example.neon;

import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import java.awt.event.MouseWheelEvent;

public class MouseEventLog extends MouseAdapter {
    @Override
    public void mouseMoved(java.awt.event.MouseEvent e) {
        System.out.println("鼠标移动事件");
        super.mouseMoved(e);
    }

    @Override
    public void mouseEntered(java.awt.event.MouseEvent e) {
        System.out.println("鼠标进入事件");
        super.mouseEntered(e);
    }

    @Override
    public void mouseExited(MouseEvent e) {
        System.out.println("鼠标离开事件");
        super.mouseExited(e);
    }

    @Override
    public void mouseClicked(MouseEvent e) {
        System.out.println("鼠标事件: mouseClicked");
        super.mouseClicked(e);
    }

    @Override
    public void mouseDragged(MouseEvent e) {
        System.out.println("鼠标事件: mouseDragged");
        super.mouseDragged(e);
    }

    @Override
    public void mousePressed(MouseEvent e) {
        System.out.println("鼠标事件: mousePressed");
        super.mousePressed(e);
    }

    @Override
    public void mouseReleased(MouseEvent e) {
        System.out.println("鼠标事件: mouseReleased");
        super.mouseReleased(e);
    }

    @Override
    public void mouseWheelMoved(MouseWheelEvent e) {
        System.out.println("鼠标事件: mouseWheelMoved");
        super.mouseWheelMoved(e);
    }
}
